home *** CD-ROM | disk | FTP | other *** search
/ Apple Macintosh CD: Power Macintosh 5400 Series / mac5400.iso / Apple Extras / AppleScript™ / Using AppleScript part 1 < prev    next >
Text File  |  1994-08-02  |  5KB  |  76 lines

  1.  
  2.  
  3. Contents
  4.  
  5. Preface Welcome to AppleScript 
  6.                What is AppleScript?  
  7.                About this guide    
  8.                Balloon Help
  9.                Where to go from here   
  10.  
  11.            I  Using the Script Editor      
  12.                Opening a script      
  13.                Recording a script      
  14.                Editing a script      
  15.                Checking the syntax of a script      
  16.                Formatting a script     
  17.                Saving a script     
  18.                Saving a script without compiling it      
  19.                Save options for script applications      
  20.                Saving a script as run-only      
  21.                Running a script      
  22.                Viewing AppleScript terms      
  23.                Using different scripting systems      
  24.                Using different AppleScript dialects      
  25.                Displaying the Result window      
  26.                Pasting an object reference into a script      
  27.           2  Script Editor Command Reference      
  28.                File menu      
  29.                Edit menu     
  30.                Controls menu      
  31.                Font and Style menus     
  32.  
  33.  
  34.  
  35.  
  36.  
  37. Welcome to AppleScript
  38.  
  39. This manual is your introduction to the AppleScript application program. Use it to begin working with AppleScript. You can use AppleScript on Macintosh computers that use system software version 7.0 or later. If you’re new to the Macintosh, read the information that came with your computer before you install the AppleScript application program. You’ll need to know basic Macintosh operations and vocabulary to use AppleScript. 
  40.  
  41. What is AppleScript?
  42.  
  43. When you use your Macintosh computer, you use the mouse and keyboard to open documents and application programs, move documents and file folders, enter information, print, and perform any other actions you want. AppleScript gives you a whole new way to work: You can give the computer a list of things you want it to do—a script—and let the computer do everything on your list. 
  44.  
  45. You can create a script by simply turning on the recorder and performing a set of actions. AppleScript keeps a list of what you do while the recorder is turned on. When you turn the recorder off, you can see the recorded script. When you run the script, your computer repeats your actions automatically.
  46.  
  47. You can use the Finder and many application programs with AppleScript. Scripts can make the Finder or the program do many things for you. For example, a script might format a letter the way you want, save it in a particular folder, and print it. 
  48.  
  49. You can also use AppleScript to combine the capabilities of application programs. For example, a script might use the calculation capabilities of a spreadsheet and the formatting capabilities of a word processor to assemble an invoice.
  50.  
  51. Scriptable application programs and the Scriptable Finder
  52.  
  53. You can create scripts to control any scriptable application programs you have installed on your Macintosh. An application is scriptable when you can use AppleScript to control it. Many Macintosh programs are scriptable. If you’re not sure your program is scriptable, contact the program’s manufacturer for information.
  54.  
  55. With system software version 7.5, the Finder (inside the System Folder) is scriptable. When you begin working with the Script Editor, you can use the Finder to try recording and playing a script. 
  56.  
  57. About this guide
  58.  
  59. This guide tells you how to use the Script Editor to record scripts and how to change a script to do something different. The Script Editor is an application program you use to open and run scripts, make new scripts by recording or writing them, and save scripts. You don’t need to know how to write computer programs to do anything described in this manual. 
  60.  
  61. Balloon Help
  62.  
  63. You can use Balloon Help with the application program that come with AppleScript (the Script Editor). Choose Show Balloons from the Guide menu (near the right end of the menu bar).
  64.  
  65.  
  66.  
  67.  
  68.  
  69. When you point to any feature of the Script Editor application program, a balloon appears explaining the feature.
  70.  
  71. Where to go from here
  72.  
  73. For more information about using the Script Editor to work with scripts, open the file called "Using AppleScript part 2” to see Chapter 1 (“Using the Script Editor") and Chapter 2 (“Script Editor Command Reference”).
  74.  
  75. If you wish to create more complex scripts, see an authorized Apple dealer for information about the AppleScript Scripter’s Kit. The Scripter’s Kit contains additional AppleScript software and manuals.